<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
    <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
    <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> 
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>维护记录详情</title>
<%@ include file="/WEB-INF/component/commonCSS.jsp"%>
<style type="text/css">
	.red {color:red}
</style>

</head>
<body class="skin-blue-light sidebar-mini fixed skin-blue-light-frame">
    <section class="content-header">
        <h1>详情</h1>
        <ol class="breadcrumb">
            <li><a href="${ctx}/home.jsp"><i class="fa fa-home"></i>首页</a></li>
            <li class="active"><a href="#">合同管理</a></li>
            <li class="active"><a href="#">合同维护记录管理</a></li>
            <li class="active"><a href="#">维护记录详情</a></li>
        </ol>
    </section>
    <section class="content">
        <div style="width:49%;float:left;">
        	<div class=" box box-success">
	            <form role="form" class="form-horizontal" method="post">
	                <div class="box-body">
	                   
	                    <div class="form-group form-group-xs">
	                        <label class="col-sm-3 text-right">本次修改时间：</label>
	                        <div class="col-sm-8 text-left">
	                             ${ newContract.updDatetime }
	                        </div>
	                   </div>
	                   
	                   <div class="form-group form-group-xs">
	                        <label class="col-sm-3 text-right">本次修改人：</label>
	                        <div class="col-sm-8 text-left">
	                             ${ newContract.updUser }
	                        </div>
	                   </div>
	                   
	              </div>
	            </form>
            </div>
         <div class=" box box-primary">
          <div class="box-header with-border">
           <h3 class="box-title">修改后</h3>
            </div>
            <form role="form" class="form-horizontal" method="post">
                <div class="box-body">
                
                    <div class="form-group form-group-xs">
                        <label class="col-sm-3 text-right">合同名称：</label>
                        <div class="col-sm-8 text-left" >
                           ${ newContract.contractTitle }
                        </div>
                    </div>
                    
                    <div class="form-group form-group-xs">
                        <label class="col-sm-3 text-right">合同甲方：</label>
                        <div class="col-sm-8 text-left" >
                        	${ newContract.contractPartyA }
                        </div>
                   </div>
                   
                   <div class="form-group form-group-xs">
                        <label class="col-sm-3 text-right">合同乙方：</label>
                        <div class="col-sm-8 text-left" >
                          ${newContract.contractPartyB  }
                        </div>
                   </div>
                   
                   <div class="form-group form-group-xs">
                        <label class="col-sm-3 text-right">审核人：</label>
                        <div class="col-sm-8 text-left" >
                         ${newContract.status==1?"启用":"停用"}
                        </div>
                   </div>
                   
                     <div class="form-group form-group-xs">
                        <label class="col-sm-3 text-right">审核时间：</label>
                        <div class="col-sm-8 text-left ${ newContract.auditDatetime != oldContract.auditDatetime ? 'red' : '' }">
                         ${newContract.auditDatetime}
                        </div>
                   </div>
                     <div class="form-group form-group-xs">
                        <label class="col-sm-3 text-right">状态：</label>
                        <div class="col-sm-8 text-left" >
                          ${newContract.auditStatus==1?"启用":"停用"}
                        </div>
                    </div>
                    
                     <div class="form-group form-group-xs">
                        <label class="col-sm-3 text-right">合同内容：</label>
                        <div class="col-sm-8 text-left" >
                         	${newContract.content}
                        </div>
                    </div>
                   
              </div>
            </form>
            </div>
        </div>
        <div style="width:49%;float:right;">
        	<div class=" box box-success">
	            <form role="form" class="form-horizontal" method="post">
	                <div class="box-body">
	                   
	                    <div class="form-group form-group-xs">
	                        <label class="col-sm-3 text-right">上次修改时间：</label>
	                        <div class="col-sm-8 text-left">
	                             ${ oldContract.updDatetime }
	                        </div>
	                   </div>
	                   
	                   <div class="form-group form-group-xs">
	                        <label class="col-sm-3 text-right">上次修改人：</label>
	                        <div class="col-sm-8 text-left">
	                             ${ oldContract.updUser }
	                        </div>
	                   </div>
	                   
	              </div>
	            </form>
            </div>
         <div class=" box box-primary">
          <div class="box-header with-border">
           <h3 class="box-title">修改前</h3>
            </div>
            <form role="form" class="form-horizontal" method="post">
                <div class="box-body">
                
                         <div class="form-group form-group-xs">
                        <label class="col-sm-3 text-right">合同名称：</label>
                        <div class="col-sm-8 text-left" >
                           ${ oldContract.contractTitle }
                        </div>
                    </div>
                    
                    <div class="form-group form-group-xs">
                        <label class="col-sm-3 text-right">合同甲方：</label>
                        <div class="col-sm-8 text-left" >
                         ${oldContract.contractPartyA  }
                        </div>
                   </div>
                   
                   <div class="form-group form-group-xs">
                        <label class="col-sm-3 text-right">合同乙方：</label>
                        <div class="col-sm-8 text-left" >
                          ${oldContract.contractPartyB  }
                        </div>
                   </div>
                   
                   <div class="form-group form-group-xs">
                        <label class="col-sm-3 text-right">审核人：</label>
                        <div class="col-sm-8 text-left" >
                         ${oldContract.status==1?"启用":"停用"}
                        </div>
                   </div>
                   
                     <div class="form-group form-group-xs">
                        <label class="col-sm-3 text-right">审核时间：</label>
                        <div class="col-sm-8 text-left" >
                         ${oldContract.auditDatetime}
                        </div>
                   </div>
                     <div class="form-group form-group-xs">
                        <label class="col-sm-3 text-right">状态：</label>
                        <div class="col-sm-8 text-left" >
                          ${oldContract.auditStatus==1?"启用":"停用"}
                        </div>
                    </div>
                    
                     <div class="form-group form-group-xs">
                        <label class="col-sm-3 text-right">合同内容：</label>
                        <div class="col-sm-8 text-left" >
                           ${oldContract.content }
                        </div>
                    </div>
                    
              </div>
            </form>
            </div>
        </div>        
<div style="text-align:center;">
      <a href="javascript:history.go(-1)" class="btn btn-danger btn-sm">返&nbsp;回</a>
</div>
    </section>

</html>